package no.group.gowther.rest.vo.param;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ayatsuji
 * @date 2022-04-24 23:20
 * @since
 */
public class TagRenameParam {
    @NotNull(message = "标签id不能为空")
    private Long id;
    @NotBlank(message = "新标签名称不能为空")
    private String newTagName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNewTagName() {
        return newTagName;
    }

    public void setNewTagName(String newTagName) {
        this.newTagName = newTagName;
    }

    @Override
    public String toString() {
        return "RenameTagParam{" +
                "id=" + id +
                ", newTagName='" + newTagName + '\'' +
                '}';
    }
}
